package com.spa.application.dto.shop;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.spa.infrastructure.common.jsonSerialize.PhoneDesensitizationSerializer;
import lombok.Data;

@Data
@JsonInclude
public class ShopAddressesDTO {

    private String id;

    private String name;

    @JsonSerialize(using = PhoneDesensitizationSerializer.class)
    private String phone;

    private String region;

    private String address;

    private int isDefault;
}
